package cn.org.donald.service.impl;

import cn.org.donald.framework.handler.HttpServletRequest;
import cn.org.donald.framework.util.RequestUtil;
import cn.org.donald.service.game.TestService;
import org.apache.dubbo.config.annotation.Service;




/**
 * @author : Donald
 * @since : 2020/11/24 16:22
 */
@Service(interfaceClass = TestService.class, version = "1.0.0", group = "donald")
public class TestServiceImpl implements TestService {

    @Override
    public Long getUserId(HttpServletRequest request) {
        return RequestUtil.getUserId(request);
    }

    @Override
    public void setExecutor(String i_am_the_job) {
        System.out.println(i_am_the_job);
    }
}
